package kr.hkit.powerjava.chapter05.work;

import java.util.Scanner;

public class Prog10 {
	public static void main(String[] args) {
		
		double ac;
		double ae;
		double bc;
		double de;
		
		Scanner in=new Scanner(System.in);
		
		System.out.print("AC를 입력하시오 : ");
		ac=in.nextDouble();
		
		System.out.print("AE를 입력하시오 : ");
		ae=in.nextDouble();
		
		System.out.print("BC를 입력하시오 : ");
		bc=in.nextDouble();
		
		de=(ae*bc)/ac;
		System.out.println("DE의 길이는 "+ de +"입니다.");
		
	}

}
